<?php 
include('includes/db/sql.functions.php');
/*echo "<pre>";
print_R($_POST);
echo "</pre>";*/

$hws = $_POST[hws_name];

foreach($_POST as $clav => $val){
	if($clav!="hws_name"){
	$query=add_gen_hws( $clav, $hws);
	if($query!=-9){
				header("Location: wires.php?success=gen");
			}
	}		
}

?>